package com.example.kotlin;

import lombok.Getter;
import lombok.Setter;

// Person.java
@Setter
@Getter
public class Person {
    private String name;

    public Person(String name) {
        this.name = name;
    }

    public void printGreeting() {
        System.out.println("Hello, " + name + "!");
    }
}

